<?php

$params = array();
$rules =  array();
//$rules['rule_require'] =  array();
//$params['rules'] = $rules;
echo serialize($params);